<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
<tiles:insertTemplate template="menu.jsp">
	<tiles:putAttribute name="body">
		<center>
		<tiles:insertTemplate template="messages-menu.jsp"/>
		<div class="infobox">
			<center>
			<s:form action="sendMessage"  method="post">
			<s:textfield label="Odbiorca" name="reciverLogin"/>
			<s:textfield label="Temat" name="subject"/>
			<s:textarea label="Treść" name="message" cols="75" rows="20"/>
			<s:submit value="Wyślij" />
			</s:form>
			</center>
		</div>
		</center>
	</tiles:putAttribute>
</tiles:insertTemplate>